Micron Document
Fox's Git Mirrors

Node / markqvist / pycodec2.git / files / lefthook.yml

Displaying Raw • Download

lefthook.yml cd23e2e055939b77b679e5ad0c62ce4721be0e73 (cd23e2e0) Text, 816 B

pre-commit:
parallel: true
commands:
tests:
run: "./dev/test"
codec2-integration-tests:
run: |
cd codec2-integration-tests
docker build -t codec2-integration-tests -f - .. < Dockerfile
docker run codec2-integration-tests:latest bash ./pycodec2/codec2-integration-tests/test.sh
markdownlint:
tags: documentation style
glob: "*.md"
run: markdownlint {staged_files}
toml-taplo-lint:
tags: style
glob: "*.toml"
run: taplo check {staged_files}
yaml-prettier:
tags: style
glob: "*.{yml,yaml}"
run: prettier -c {staged_files}
yapf:
tags: style
glob: "*.py"
run: yapf -i -r {staged_files} && git add {staged_files}
commit-msg:
commands:
commitlint:
run: commitlint --edit={1}

Served by rngit 1.5.2 - Generated in 0.02s